package com.jnu.hc.jnuhcdoccms.controller;

import com.jnu.hc.jnuhcdoccms.dto.ResponseObject;
import com.jnu.hc.jnuhcdoccms.service.ReportService;
import com.jnu.hc.jnuhcusercms.domain.Orders;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ReportController {
    @Autowired
    ReportService reportService;
    @RequestMapping("/createReportTemplate")
    public ResponseObject createReportTemplate(@RequestBody Orders orders){
        return reportService.createReportTemplate(orders);
    }
}
